var http = require('http');
http.createServer(function (request, response) {
    response.writeHead(302,{ 'Location': "http://www.baidu.com/" }).
        response.end();
    }).listen(52273, function (){
    console.log('服务器监听地址在 http://127.0.0.1:52273');
        });